package com.zzyl.mapper;

import com.zzyl.entity.NursingPlan;
import com.zzyl.vo.NursingPlanVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NursingPlanMapper {
    //分页查询
    List<NursingPlanVo> findByPage(String name, Integer status);

    //根据id查询
    NursingPlanVo selectById(Long id);

    //修改计划
    void update(NursingPlan nursingPlan);

    //新增计划
    void save(NursingPlan nursingPlan);

    //删除计划表
    void deleteById(Long planId);
}
